package com.fh.fruit.entity.spec;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.fh.fruit.entity.label.LabelAttr;

public class Spec implements Serializable {
	private static final long serialVersionUID = 1L;
	private int id;
	private String code;
	private int goodsId;
	private String spec;
	private String picture;
	private String unit;
	private int stockNum;
	private int realStockNum;
	private int stockWarnNum;
	private BigDecimal bidPrice;
	private BigDecimal price;
	private int minShopNum;
	private int maxShopNum;
	private String startTime;
	private String endTime;
	private String state;
	private String createTime;
	private String createId;
	private String updateTime;
	private String updateId;
	private String goodsName;
	private String pic;
	private String harvestTime;
	private String fruitTreeState;
	private int saleNum;
	private String endUseTime;
	private int equityCycle;
	private List<LabelAttr> labelAttr = new ArrayList<LabelAttr>();;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public int getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}
	public String getSpec() {
		return spec;
	}
	public void setSpec(String spec) {
		this.spec = spec;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public int getStockNum() {
		return stockNum;
	}
	public void setStockNum(int stockNum) {
		this.stockNum = stockNum;
	}
	public int getRealStockNum() {
		return realStockNum;
	}
	public void setRealStockNum(int realStockNum) {
		this.realStockNum = realStockNum;
	}
	public int getStockWarnNum() {
		return stockWarnNum;
	}
	public void setStockWarnNum(int stockWarnNum) {
		this.stockWarnNum = stockWarnNum;
	}
	public BigDecimal getBidPrice() {
		return bidPrice;
	}
	public void setBidPrice(BigDecimal bidPrice) {
		this.bidPrice = bidPrice;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public int getMinShopNum() {
		return minShopNum;
	}
	public void setMinShopNum(int minShopNum) {
		this.minShopNum = minShopNum;
	}
	public int getMaxShopNum() {
		return maxShopNum;
	}
	public void setMaxShopNum(int maxShopNum) {
		this.maxShopNum = maxShopNum;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getCreateId() {
		return createId;
	}
	public void setCreateId(String createId) {
		this.createId = createId;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	public String getUpdateId() {
		return updateId;
	}
	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public List<LabelAttr> getLabelAttr() {
		return labelAttr;
	}
	public void setLabelAttr(List<LabelAttr> labelAttr) {
		this.labelAttr = labelAttr;
	}
	public String getHarvestTime() {
		return harvestTime;
	}
	public void setHarvestTime(String harvestTime) {
		this.harvestTime = harvestTime;
	}
	public String getFruitTreeState() {
		return fruitTreeState;
	}
	public void setFruitTreeState(String fruitTreeState) {
		this.fruitTreeState = fruitTreeState;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public int getSaleNum() {
		return saleNum;
	}
	public void setSaleNum(int saleNum) {
		this.saleNum = saleNum;
	}
	public String getEndUseTime() {
		return endUseTime;
	}
	public void setEndUseTime(String endUseTime) {
		this.endUseTime = endUseTime;
	}
	public int getEquityCycle() {
		return equityCycle;
	}
	public void setEquityCycle(int equityCycle) {
		this.equityCycle = equityCycle;
	}
	
}
